import { createApp } from "vue";
import "./style.css";
import ElementPlus from "element-plus";
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import "element-plus/dist/index.css";
import "nprogress/nprogress.css";
import router from "./router/index";
import store from "@/store";
import App from "./App.vue";

import SelectImg from "@/components/SelectImg.vue"
const app = createApp(App);
// 全局注册组件
app.component('SelectImg',SelectImg)
app.use(router).use(store).use(ElementPlus);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }
app.mount("#app");
